home *** CD-ROM | disk | FTP | other *** search
/ PC World Komputer 2010 April / PCWorld0410.iso / redakcyjne / programy / Tlen 6.0.1.12 pl / tleninst60112.exe / sdk / TlenSources / plugin / cl_struct.h next >
C/C++ Source or Header  |  2006-08-30  |  1KB  |  44 lines

  1. //---------------------------------------------------------------------------
  2. #ifndef cl_structH
  3. #define cl_structH
  4. //---------------------------------------------------------------------------
  5.  
  6. #include <windows.h>
  7.  
  8. typedef struct {
  9.  
  10.  int structSize;        //wielko£µ struktury w bajtach
  11.  
  12.  char *ContactID;
  13.  char *ProtocolID;
  14.  
  15.  char *FullID;
  16.  char *User;
  17.  char *Server;
  18.  char *Resource;
  19.  
  20.  int Flags;
  21.  
  22.  void *OwnerData;
  23.  
  24. } ContactDef;
  25.  
  26. typedef struct {
  27.  
  28.  int structSize;        //wielko£µ struktury w bajtach
  29.  
  30.  ContactDef *contacts;
  31.  int count;
  32.  
  33. } ContactsListDef;
  34.  
  35. typedef int (*ct_init_type) (ContactDef *ct);
  36. typedef int (*ct_free_type) (ContactDef *ct);
  37. typedef int (*ct_copy_type) (ContactDef *dest, ContactDef *source);
  38. typedef int (*cl_init_type) (ContactsListDef *cl);
  39. typedef int (*cl_add_type)  (ContactsListDef *cl, ContactDef *ct);
  40. typedef int (*cl_copy_type) (ContactsListDef *dest, ContactsListDef *source);
  41. typedef int (*cl_free_type) (ContactsListDef *cl);
  42.  
  43. #endif
  44.